package T3;

public class Test {
    public static void main(String[] args) {



        AbstractPackage abstractPackage = new CallPackage(10000.0,500,100.0);
        abstractPackage.show();

        System.out.println(abstractPackage.getMoney());

        abstractPackage.setMoney(200.0);
        System.out.println(abstractPackage.getMoney());



        /*

        AbstractPackage abstractPackage = new OnlinePackages(1024.0,50.0);
        abstractPackage.show();

        abstractPackage.setMoney(100.0);
        System.out.println(abstractPackage.getMoney());
        abstractPackage.show();

         */




        /*
        CallService callService =  new CallPackage();
        callService.callService(1000.0,Card.Big);

        OlineService olineService = new OnlinePackages();
        olineService.onlineService(1024.0,Card.Smaller);

         */

    }
}
